home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: NEWBIE: MSVC C++ and templates
- Date: 28 Jan 1996 14:27:25 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4eg14d$10u@news1.usa.pipeline.com>
- References: <4efp9e$jsq@news.ust.hk>
- NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 28, 1996 12:13:33 in article <Re: NEWBIE: MSVC C++ and templates>,
- 'ee_ckmaa@uxmail.ust.hk (Chan Ka Ming)' wrote:
-
- >James Edward Sands III (froman@ix.netcom.com) wrote:
- >: I am learning C++ with microsoft visual c++ professional edition v1.5,
- >: a funny thing happened the other day though. I entered the chapter
- >: (in my book) on templates, and when coding, MSVC kept on spitting up
- >: errors (erroneous errors). All surronding the template delcaration,
- >: and calls.
- >
- >: Upon the help file inspection, I read an entry that says
- >: "This produce does not support the use of templates" (word for word)
- >
- >: Does anyone know why MSVC does not support them (they look real
- >: useful), or am I overlooking something?
- >
- >Yes, you cannot use templates in VC++. I don't know why; maybe compiler
- with
- >version under
- >2.0 doesn't include this feature. If possible, upgrade to version 2.0 or
- 4.0.
- >Hope this help.
-
- Chan is correct. MSVC++ 1.5x does not support templates. However,
- a word of caution about the recommendation to upgrade. Versions 2.0
- and higher of MSVC++ run only on NT and Win95. If one wants to
- stay with 16-bit Windows (3.1), other vendors' offerings are required
- for implementation of recent additions to the language. BC45 as well as
- Watcom 10.5 are excellent.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-